
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import javax.swing.JFrame;
import twitter4j.Twitter;


/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Mauricio
 */
public class LeFrame extends javax.swing.JPanel{
    Twitter twt; 
    public TimelinePane pan;
    public Ventana ventana;
    public GridBagConstraints gbc = new GridBagConstraints();
    
    
    
    
    public LeFrame(Twitter twt, Ventana ventana) {
    this.ventana = ventana;
    this.twt = twt;
    pan = new TimelinePane(twt,true,"tweets",null);
    this.setLayout(new GridBagLayout());
    gbc.weightx= 1.0;
    gbc.weighty = 0.5;
    gbc.fill = GridBagConstraints.BOTH;
    gbc.gridheight = GridBagConstraints.REMAINDER;
    this.add(new NewJPanel(twt, this), gbc);
    this.add(pan, gbc);
    this.setOpaque(false);
    }
}
